package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Role;

public interface RoleService {
    PageResult findAll(QueryPageBean queryPageBean);

    void saveOne(int[] ids, Role role);

    Role selectBasicById(int id);

    int[] selectMiddleByRoleId(int id);

    void updateOne(int[] newIds, Role role);

    void deleteRoleById(int id);
}
